/*
 ConfirmationViewController.h
 
 The view controller class that handles the confirmation windows that
 appear when the "new" or "save" buttons are pressed.
 
 Created by David Kikuta.
 */

#import <UIKit/UIKit.h>

@protocol ConfirmationViewControllerDelegate;

@interface ConfirmationViewController : UIViewController {

	id <ConfirmationViewControllerDelegate> delegate;
	
	IBOutlet UIButton * confirm;
	IBOutlet UIButton * deny;
	IBOutlet UILabel * confirmationMessage;
	int messageType;
}

@property (nonatomic, assign) id <ConfirmationViewControllerDelegate> delegate;
@property (readwrite, assign) int messageType;

- (void)confirmButtonPressed:(UIButton *) sender;
- (IBAction)denyButtonPressed:(UIButton *) sender;
- (void)setMessage:(int) type;

@end

@protocol ConfirmationViewControllerDelegate

- (void)closeConfirmationWindow;
- (void)clearCanvas;
- (void)saveImage;

@end